package models;

import java.util.*;
import javax.persistence.*;

import play.data.validation.Required;
import play.db.jpa.*;

@Entity
public class MotifAnnulation extends Model {

  @Required
  public String motif;
  
  @Required
  public String code;
  
  public String observation;
  
  public MotifAnnulation(String motif, String code, String observation){
    this.motif = motif;
    this.code = code;
    this.observation = observation;
  }

  public String toString(){
    return motif;
  }

}
